﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.InteropServices;
using OpenTK;

namespace AirHockey
{
    [Serializable]
    [StructLayout(LayoutKind.Sequential)]
    public struct VertexInterleaved
    {
        public Vector4 Position;
        public Vector3 Normal;
        public Vector2 TextureCoordinate;

        public static int VertexStride()
        {
            return (9 * sizeof(float));
        }
    }
}
